package com.hzit.irs.mapper;

import com.hzit.irs.model.TbMenus;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenusMapper {

    /**
     * 根据parentId查询菜单
     * @param parentId
     * @return
     */
    List<TbMenus> queryMenus(@Param("parentId") String parentId);

}
